#include "pictureinfo.h"

namespace qrcode{

PictureInfo::PictureInfo()
{
    //默认设置
    COE = 1;
    filepath = "";
    filename = "result";
    picFormat = "png";
}

int PictureInfo::getCOE() const
{
    return COE;
}

void PictureInfo::setCOE(int value)
{
    COE = value;
}

std::string PictureInfo::getFilepath() const
{
    return filepath;
}

void PictureInfo::setFilepath(const std::string &value)
{
    filepath = value;
}

std::string PictureInfo::getFilename() const
{
    return filename;
}

void PictureInfo::setFilename(const std::string &value)
{
    filename = value;
}

std::string PictureInfo::getPicFormat() const
{
    return picFormat;
}

void PictureInfo::setPicFormat(const std::string &value)
{
    picFormat = value;
}


}
